192
|
How do I display radio buttons for all cells in the column

with thisform.ComboBox1
.Columns.Add("Radio").Def(1) = .T.
.Items.AddItem(0)
.Items.AddItem(1)
endwith
|
191
|
How do I display checkboxes for all cells in the column

with thisform.ComboBox1
.Columns.Add("Check").Def(0) = .T.
.Items.AddItem(0)
.Items.AddItem(1)
endwith
|
247
|
How do I display as strikeout an item

with thisform.ComboBox1
.Columns.Add("Default")
with .Items
.DefaultItem = .AddItem("strikeout")
.ItemStrikeOut(0) = .T.
endwith
endwith
|
248
|
How do I display as strikeout a cell or an item

with thisform.ComboBox1
.Columns.Add("Default")
with .Items
.DefaultItem = .AddItem("gets <s>strikeout</s> only a portion of text")
.CellCaptionFormat(0,0) = 1
endwith
endwith
|
249
|
How do I display as strikeout a cell

with thisform.ComboBox1
.Columns.Add("Default")
with .Items
.DefaultItem = .AddItem("strikeout")
.CellStrikeOut(0,0) = .T.
endwith
endwith
|
241
|
How do I display as italic an item

with thisform.ComboBox1
.Columns.Add("Default")
with .Items
.DefaultItem = .AddItem("italic")
.ItemItalic(0) = .T.
endwith
endwith
|
242
|
How do I display as italic a cell or an item

with thisform.ComboBox1
.Columns.Add("Default")
with .Items
.DefaultItem = .AddItem("gets <i>italic</i> only a portion of text")
.CellCaptionFormat(0,0) = 1
endwith
endwith
|
243
|
How do I display as italic a cell

with thisform.ComboBox1
.Columns.Add("Default")
with .Items
.DefaultItem = .AddItem("italic")
.CellItalic(0,0) = .T.
endwith
endwith
|
90
|
How do I disable the full-row selection in the control

with thisform.ComboBox1
.FullRowSelect = .F.
.Columns.Add("Column")
.Items.AddItem("One")
.Items.AddItem("Two")
endwith
|
113
|
How do I disable the control

with thisform.ComboBox1
.Enabled = .F.
endwith
|
80
|
How do I disable sorting the columns when clicking the control's header

with thisform.ComboBox1
.SortOnClick = 0
.Columns.Add("1")
.Columns.Add("2")
endwith
|
81
|
How do I disable sorting a specified column when clicking its header

with thisform.ComboBox1
.Columns.Add("1")
.Columns.Add("NoSort").AllowSort = .F.
endwith
|
118
|
How do I disable showing the tooltip for all control
with thisform.ComboBox1
.ToolTipDelay = 0
.Columns.Add("tootip").ToolTip = "this is a tooltip assigned to a column"
endwith
|
178
|
How do I disable resizing a column at runtime

with thisform.ComboBox1
.Columns.Add("Unsizable").AllowSizing = .F.
.Columns.Add("C2")
.Columns.Add("C3")
.Columns.Add("C4")
endwith
|
250
|
How do I disable or enable an item

with thisform.ComboBox1
.Columns.Add("Default")
with .Items
.DefaultItem = .AddItem("disabled")
.EnableItem(0) = .F.
endwith
.Items.AddItem("enabled")
endwith
|
179
|
How do I disable drag and drop columns

with thisform.ComboBox1
.Columns.Add("C1").AllowDragging = .F.
.Columns.Add("C2").AllowDragging = .F.
endwith
|
51
|
How do I change visual appearance of the +/- ( expand/collapse ) buttons

with thisform.ComboBox1
.LinesAtRoot = 1
.HasButtons = 3
.Columns.Add("Column")
with .Items
h = .AddItem("Root 1")
.InsertItem(h,Null,"Child 1")
.InsertItem(h,Null,"Child 2")
.DefaultItem = h
.ExpandItem(0) = .T.
h = .AddItem("Root 2")
.InsertItem(h,Null,"Child")
endwith
endwith
|
266
|
How do I change the visual effect for the cell, using your EBN files

with thisform.ComboBox1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.Columns.Add("C1")
.Columns.Add("C2")
with .Items
h = .AddItem("Cell 1")
.DefaultItem = h
.CellCaption(0,1) = "Cell 2"
.DefaultItem = h
.CellBackColor(0,1) = 0x1000000
endwith
endwith
|
147
|
How do I change the visual aspect only for the thumb in the scroll bar, using EBN

with thisform.ComboBox1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
.VisualAppearance.Add(3,"c:\exontrol\images\hot.ebn")
.Object.Background(388) = 0x1000000
.Object.Background(389) = 0x2000000
.Object.Background(391) = 0x3000000
.ColumnAutoResize = .F.
.Columns.Add("S").Width = 483
endwith
|
140
|
How do I change the visual aspect of the drop down filter button, using EBN

with thisform.ComboBox1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.Object.Background(0) = 0x1000000
.Columns.Add("Filter").DisplayFilterButton = .T.
endwith
|
143
|
How do I change the visual aspect of the drop down calendar window, that shows up if I click the drop down filter button, using EBN

with thisform.ComboBox1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
.Object.Background(8) = 0x1000000
.Object.Background(9) = 0x1000000
.Object.Background(10) = 0x2000000
.Object.Background(11) = 0x1000000
.Object.Background(12) = RGB(230,230,230)
.Object.Background(13) = RGB(230,230,230)
.Object.Background(14) = 0x1000000
with .Columns.Add("Date")
.FilterType = 4
.DisplayFilterButton = .T.
.DisplayFilterDate = .T.
endwith
endwith
|
142
|
How do I change the visual aspect of the close button in the filter bar, using EBN

with thisform.ComboBox1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.Object.Background(1) = 0x1000000
.Columns.Add("Filter").FilterType = 1
.ApplyFilter
endwith
|
144
|
How do I change the visual aspect of selected item in the drop down filter window, using your EBN technology

with thisform.ComboBox1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.Object.Background(20) = 0x1000000
.Object.Background(21) = RGB(255,20,20)
.Columns.Add("Filter").DisplayFilterButton = .T.
endwith
|
141
|
How do I change the visual aspect of buttons in the cell, using EBN

with thisform.ComboBox1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
.Object.Background(2) = 0x1000000
.Object.Background(3) = 0x2000000
.SelForeColor = RGB(0,0,0)
.ShowFocusRect = .F.
.Columns.Add("Column 1").Def(2) = .T.
.Items.AddItem("Button 1")
.Items.AddItem("Button 2")
.Columns.Add("Column 2")
endwith
|
148
|
How do I change the visual aspect for thumb parts in the scroll bars, using EBN

with thisform.ComboBox1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.VisualAppearance.Add(2,"c:\exontrol\images\pushed.ebn")
.VisualAppearance.Add(3,"c:\exontrol\images\hot.ebn")
.Object.Background(388) = 0x1000000
.Object.Background(389) = 0x2000000
.Object.Background(391) = 0x3000000
.Object.Background(260) = 0x1000000
.Object.Background(261) = 0x2000000
.Object.Background(263) = 0x3000000
.ColumnAutoResize = .F.
.ScrollBySingleLine = .T.
.Columns.Add("S").Width = 483
with .Items
.DefaultItem = .AddItem("Item 1")
.ItemHeight(0) = 248
endwith
.Items.AddItem("Item 2")
endwith
|
236
|
How do I change the visual appearance for the item, using your EBN technology

with thisform.ComboBox1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.Columns.Add("Default")
with .Items
h = .AddItem("Root")
hC = .InsertItem(h,Null,"Child 1")
.DefaultItem = hC
.ItemBackColor(0) = 0x1000000
.InsertItem(h,Null,"Child 2")
.DefaultItem = h
.ExpandItem(0) = .T.
endwith
endwith
|
98
|
How do I change the visual appearance effect for the selected item, using EBN

with thisform.ComboBox1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.SelBackColor = 0x1000000
.SelForeColor = RGB(0,0,0)
.ShowFocusRect = .F.
.Columns.Add("Column")
.Items.AddItem(0)
.Items.AddItem(1)
endwith
|
335
|
How do I change the text in the edit or label area

with thisform.ComboBox1
.Columns.Add("Column")
with .Items
.AddItem("Item 3")
.AddItem("Item 1")
.AddItem("Item 2")
endwith
.Object.EditText(0) = "Test"
endwith
|
157
|
How do I change the item's foreground color for numbers between an interval - Range

with thisform.ComboBox1
.ConditionalFormats.Add("%0 >= 2 and %0 <= 10").ForeColor = RGB(255,0,0)
.Columns.Add("Numbers")
.Items.AddItem(1)
.Items.AddItem(2)
.Items.AddItem(10)
.Items.AddItem(20)
endwith
|
156
|
How do I change the item's background color for numbers less than a value

with thisform.ComboBox1
.ConditionalFormats.Add("%0 < 10").BackColor = RGB(255,0,0)
.Columns.Add("Numbers")
.Items.AddItem(1)
.Items.AddItem(2)
.Items.AddItem(10)
.Items.AddItem(20)
endwith
|
102
|
How do I change the height of the control's filterbar

with thisform.ComboBox1
.FilterBarHeight = 32
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.FilterType = 1
endwith
.ApplyFilter
endwith
|
251
|
How do I change the height of an item

with thisform.ComboBox1
.ScrollBySingleLine = .T.
.Columns.Add("Default")
with .Items
.DefaultItem = .AddItem("height")
.ItemHeight(0) = 128
endwith
.Items.AddItem("enabled")
endwith
|
101
|
How do I change the header's foreground color

with thisform.ComboBox1
.HeaderForeColor = RGB(255,0,0)
.Columns.Add("Column 1")
.Columns.Add("Column 2")
.Items.AddItem("Item 1")
endwith
|
103
|
How do I change the foreground color of the control's filterbar

with thisform.ComboBox1
.FilterBarForeColor = RGB(255,0,0)
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.FilterType = 1
endwith
.ApplyFilter
endwith
|
237
|
How do I change the foreground color for the item

with thisform.ComboBox1
.Columns.Add("Default")
with .Items
h = .AddItem("Root")
hC = .InsertItem(h,Null,"Child 1")
.DefaultItem = hC
.ItemForeColor(0) = RGB(255,0,0)
.InsertItem(h,Null,"Child 2")
.DefaultItem = h
.ExpandItem(0) = .T.
endwith
endwith
|
106
|
How do I change the font of the control's filterbar

with thisform.ComboBox1
.FilterBarFont.Size = 20
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.FilterType = 1
endwith
.ApplyFilter
endwith
|
568
|
How do I change the drop down filter icon/button (black)

with thisform.ComboBox1
.BeginUpdate
with .VisualAppearance
var_s = "gBFLBCJwBAEHhEJAAEhABXUIQAAYAQGKIcBiAKBQAGYBIJDEMgzDDAUBjKKocQTC4AIQjCK4JDKHYJRpHEZyCA8EhqGASRAFUQBYiWE4oSpLABQaK0ZwIGyRIrkGQgQg"
var_s = var_s + "mPYDSDNU4zVIEEglBI0TDNczhNDENgtGYaJqHIYpZBcM40TKkEZoSIITZcRrOEBiRL1S0RBhGcRUHZlWzdN64LhuK47UrWdD/XhdVzXRbjfz1Oq+bxve48Br7A5yYThd"
var_s = var_s + "r4LhOFQ3RjIL4xbIcUwGe6VZhjOLZXjmO49T69HTtOCYBEBA"
.Add(1,var_s)
endwith
.Object.Background(32) = -1
.Object.Background(0) = 0x1000000
.Object.Background(26) = RGB(0,0,1)
.Object.Background(27) = RGB(255,255,255)
.Object.Description(25) = "<bgcolor 0><fgcolor ffffff> Exclude </fgcolor></bgcolor>"
.HeaderAppearance = 0
.HeaderBackColor = RGB(0,0,0)
.HeaderForeColor = RGB(255,255,255)
.HeaderVisible = 1
with .Columns.Add("Filter")
.FilterList = 8448 && FilterListEnum.exShowExclude Or FilterListEnum.exShowCheckBox
.DisplayFilterButton = .T.
.AllowSort = .F.
.AllowDragging = .F.
endwith
with .Items
.AddItem("One")
.AddItem("Two")
.AddItem("Three")
endwith
.EndUpdate
endwith
|
86
|
How do I change the control's foreground color

with thisform.ComboBox1
.ForeColor = RGB(120,120,120)
.Columns.Add("Column")
.Items.AddItem("item")
endwith
|
322
|
How do I change the control's border, using your EBN files

with thisform.ComboBox1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.Appearance = 16777216 && 0x1000000
endwith
|
85
|
How do I change the control's background color

with thisform.ComboBox1
.BackColor = RGB(200,200,200)
endwith
|
87
|
How do I change the control's background / foreground color on the locked area

with thisform.ComboBox1
.CountLockedColumns = 1
.ForeColorLock = RGB(240,240,240)
.BackColorLock = RGB(128,128,128)
.ColumnAutoResize = .F.
.Columns.Add("Locked").Width = 128
.Columns.Add("Un-Locked 1").Width = 128
.Columns.Add("Un-Locked 2").Width = 128
.Columns.Add("Un-Locked 3").Width = 128
with .Items
.DefaultItem = .AddItem("locked")
.CellCaption(0,1) = "unlocked"
endwith
endwith
|
158
|
How do I change the column's foreground color for numbers between an interval - Range

with thisform.ComboBox1
with .ConditionalFormats.Add("%0 >= 2 and %0 <= 10")
.Bold = .T.
.ForeColor = RGB(255,0,0)
.ApplyTo = 1 && 0x1
endwith
.Columns.Add("N1")
.Columns.Add("N2")
with .Items
.DefaultItem = .AddItem(1)
.CellCaption(0,1) = 2
endwith
with .Items
.DefaultItem = .AddItem(3)
.CellCaption(0,1) = 3
endwith
with .Items
.DefaultItem = .AddItem(10)
.CellCaption(0,1) = 11
endwith
with .Items
.DefaultItem = .AddItem(13)
.CellCaption(0,1) = 31
endwith
.SearchColumnIndex = 1
endwith
|
175
|
How do I change the column's caption

with thisform.ComboBox1
.Columns.Add("Column").Caption = "new caption"
endwith
|
97
|
How do I change the colors for the selected item

with thisform.ComboBox1
.SelBackColor = RGB(0,0,0)
.Columns.Add("Column")
.Items.AddItem(0)
.Items.AddItem(1)
endwith
|
267
|
How do I change the cell's foreground color

with thisform.ComboBox1
.Columns.Add("C1")
.Columns.Add("C2")
with .Items
h = .AddItem("Cell 1")
.DefaultItem = h
.CellCaption(0,1) = "Cell 2"
.DefaultItem = h
.CellForeColor(0,1) = RGB(255,0,0)
endwith
endwith
|
265
|
How do I change the cell's background color

with thisform.ComboBox1
.Columns.Add("C1")
.Columns.Add("C2")
with .Items
h = .AddItem("Cell 1")
.DefaultItem = h
.CellCaption(0,1) = "Cell 2"
.DefaultItem = h
.CellBackColor(0,1) = RGB(255,0,0)
endwith
endwith
|
264
|
How do I change the caption or value for a particular cell

with thisform.ComboBox1
.Columns.Add("C1")
.Columns.Add("C2")
with .Items
.DefaultItem = .AddItem("Cell 1")
.CellCaption(0,1) = "Cell 2"
endwith
endwith
|
115
|
How do I change the caption being displayed in the control's filter bar

with thisform.ComboBox1
.FilterBarCaption = "your filter caption"
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.FilterType = 1
endwith
.ApplyFilter
endwith
|
104
|
How do I change the background color of the control's filterbar

with thisform.ComboBox1
.FilterBarBackColor = RGB(240,240,240)
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.FilterType = 1
endwith
.ApplyFilter
endwith
|
235
|
How do I change the background color for the item

with thisform.ComboBox1
.Columns.Add("Default")
with .Items
h = .AddItem("Root")
hC = .InsertItem(h,Null,"Child 1")
.DefaultItem = hC
.ItemBackColor(0) = RGB(255,0,0)
.InsertItem(h,Null,"Child 2")
.DefaultItem = h
.ExpandItem(0) = .T.
endwith
endwith
|
33
|
How do I change the "All", "Blanks" or/and "NonBlanks" caption in the drop down filter window

with thisform.ComboBox1
.Columns.Add("Column").DisplayFilterButton = .T.
.Object.Description(0) = "new name for (All)"
endwith
|
111
|
How do I call your x-script language

with thisform.ComboBox1
with .ExecuteTemplate("Columns.Add(`Column`)")
.HeaderStrikeOut = .T.
.HeaderBold = .T.
endwith
endwith
|
110
|
How do I call your x-script language

with thisform.ComboBox1
.Template = "Columns.Add(`Column`).HTMLCaption = `<b>C</b>olumn`"
endwith
|
238
|
How do I bold an item

with thisform.ComboBox1
.Columns.Add("Default")
with .Items
.DefaultItem = .AddItem("bold")
.ItemBold(0) = .T.
endwith
endwith
|
239
|
How do I bold a cell or an item

with thisform.ComboBox1
.Columns.Add("Default")
with .Items
.DefaultItem = .AddItem("gets <b>bold</b> only a portion of text")
.CellCaptionFormat(0,0) = 1
endwith
endwith
|
240
|
How do I bold a cell

with thisform.ComboBox1
.Columns.Add("Default")
with .Items
.DefaultItem = .AddItem("bold")
.CellBold(0,0) = .T.
endwith
endwith
|
233
|
How do I associate an extra data to an item

with thisform.ComboBox1
.Columns.Add("Default")
with .Items
.DefaultItem = .AddItem("item")
.ItemData(0) = "your extra data"
endwith
endwith
|
163
|
How do I assign an icon to the button in the scrollbar

with thisform.ComboBox1
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql"
var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0"
var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
.Images(var_s)
.Object.ScrollPartVisible(1,32768) = .T.
.Object.ScrollPartCaption(1,32768) = "<img>1</img>"
.ScrollHeight = 18
.ScrollButtonWidth = 18
endwith
|
164
|
How do I assign a tooltip to a scrollbar

with thisform.ComboBox1
.Object.ScrollToolTip(1) = "This is a tooltip being shown when you click and drag the thumb in the horizontal scroll bar"
.ColumnAutoResize = .F.
.Columns.Add("C1").Width = 256
.Columns.Add("C2").Width = 256
.Columns.Add("C3").Width = 256
endwith
|
578
|
How do I assign a database to your control, using ADO, ADOR or ADODB objects (MDB,JET)

with thisform.ComboBox1
.BeginUpdate
.ColumnAutoResize = .F.
rs = CreateObject("ADOR.Recordset")
with rs
.Open("Orders","Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\Exontrol\ExComboBox\Sample\Access\SAMPLE.MDB",3,3)
endwith
.DataSource = rs
.EndUpdate
endwith
|
99
|
How do I assign a database to your control, using ADO, ADOR or ADODB objects

with thisform.ComboBox1
.ColumnAutoResize = .F.
rs = CreateObject("ADOR.Recordset")
with rs
.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Program Files\Exontrol\ExComboBox\Sample\Access\SAMPLE.MDB",3,3)
endwith
.DataSource = rs
endwith
|
200
|
How do I arrange my columns on multiple lines

with thisform.ComboBox1
.HeaderHeight = 32
.Columns.Add("").HTMLCaption = "Line 1<br>Line 2"
endwith
|
201
|
How do I arrange my columns on multiple levels

with thisform.ComboBox1
.Columns.Add("S").Width = 32
.Columns.Add("Level 2").LevelKey = 1
.Columns.Add("Level 3").LevelKey = 1
.Columns.Add("Level 4").LevelKey = 1
.Columns.Add("Level 1").LevelKey = "2"
.Columns.Add("Level 2").LevelKey = "2"
.Columns.Add("Level 3").LevelKey = "2"
.Columns.Add("Level 4").LevelKey = "2"
.Columns.Add("E").Width = 32
endwith
|
303
|
How do I apply HTML format to a cell

with thisform.ComboBox1
.TreeColumnIndex = -1
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql"
var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0"
var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
.Images(var_s)
.Object.HTMLPicture("p1") = "c:\exontrol\images\zipdisk.gif"
.Object.HTMLPicture("p2") = "c:\exontrol\images\auction.gif"
.Columns.Add("Default")
with .Items
h = .AddItem("The following item shows some of the HTML format supported:")
.DefaultItem = h
.CellHAlignment(0,0) = 1
var_s1 = "<br>text icons <img>1</img>, <img>2</img>, ... pictures <img>p1</img>, <img>p2</img> <br><br>text <b>bold</b>, <i>italic</i>, <u"
var_s1 = var_s1 + ">underline</u>, <s>strikeout</s>, ...<br><dotline>and so on...<br> <a>anchor</a> or <a2>hyperlink</a><br><fgcolor=FF0000>fgcolor"
var_s1 = var_s1 + "</fgcolor> or <bgcolor=00FF00>bgcolor</bgcolor> "
h = .AddItem(var_s1)
.DefaultItem = h
.CellCaptionFormat(0,0) = 1
.DefaultItem = h
.CellSingleLine(0,0) = .F.
endwith
endwith
|
182
|
How do I align the icon in the column's header to the right

with thisform.ComboBox1
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql"
var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0"
var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN"
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="
.Images(var_s)
with .Columns.Add("ColumnName")
.HeaderImage = 1
.HeaderImageAlignment = 2
endwith
endwith
|
346
|
How do change the visual appearance for the drop down border, using EBN

with thisform.ComboBox1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.DropDownBorder = 16777216 && 0x1000000
endwith
|
70
|
How do change the visual appearance for the control's header bar, using EBN

with thisform.ComboBox1
.VisualAppearance.Add(1,"c:\exontrol\images\normal.ebn")
.HeaderBackColor = 0x1000000
endwith
|
197
|
How do change the vertical alignment for all cells in the column

with thisform.ComboBox1
.Columns.Add("MultipleLine").Def(16) = .F.
.Columns.Add("VAlign").Def(6) = 2
with .Items
.DefaultItem = .AddItem("This is a bit of long text that should break the line")
.CellCaption(0,1) = "bottom"
endwith
with .Items
.DefaultItem = .AddItem("This is a bit of long text that should break the line")
.CellCaption(0,1) = "bottom"
endwith
endwith
|
196
|
How do change the foreground color for all cells in the column

with thisform.ComboBox1
.Columns.Add("ForeColor").Def(5) = 255
.Items.AddItem(0)
.Items.AddItem(1)
endwith
|
195
|
How do change the background color for all cells in the column

with thisform.ComboBox1
.Columns.Add("BackColor").Def(4) = 255
.Items.AddItem(0)
.Items.AddItem(1)
endwith
|
5
|
How can I use HTML format in column's header

with thisform.ComboBox1
.Columns.Add("ColumnName").HTMLCaption = "<b>HTML</b> <fgcolor=0000FF>Col</fgcolor>umn"
endwith
|
28
|
How can I underline the column's header

with thisform.ComboBox1
.Columns.Add("Column 1").HeaderUnderline = .T.
endwith
|
213
|
How can I underline all cells in the column

with thisform.ComboBox1
var_ConditionalFormat = .ConditionalFormats.Add("1")
with var_ConditionalFormat
.Underline = .T.
.ApplyTo = 0
endwith
.Columns.Add("Column")
.Items.AddItem(0)
.Items.AddItem(1)
endwith
|
185
|
How can I specify the minimum width for the column, if I use WidthAutoResize property

with thisform.ComboBox1
with .Columns.Add("Auto")
.WidthAutoResize = .T.
.MinWidthAutoResize = 32
endwith
.Items.AddItem(0)
.Items.AddItem(1)
endwith
|
186
|
How can I specify the maximum width for the column, if I use WidthAutoResize property

with thisform.ComboBox1
with .Columns.Add("Auto")
.WidthAutoResize = .T.
.MinWidthAutoResize = 32
.MaxWidthAutoResize = 128
endwith
.Items.AddItem(0)
.Items.AddItem(1)
endwith
|
441
|
How can I specify the format for negative numbers

with thisform.ComboBox1
.BeginUpdate
.Columns.Add("Def").Def(17) = 1
with .Items
h = .AddItem(-100000.27)
.DefaultItem = h
.FormatCell(0,0) = "(value format '') + ' <fgcolor=808080>(default)'"
h = .AddItem(-100000.27)
.DefaultItem = h
.FormatCell(0,0) = "(value format '||||1') + ' <fgcolor=808080>(Negative sign, number; for example, -1.1)'"
endwith
.EndUpdate
endwith
|
432
|
How can I specify an item to be always the last item

with thisform.ComboBox1
.BeginUpdate
.TreeColumnIndex = -1
.Columns.Add("Numbers").SortType = 1
with .Items
.AddItem(1)
.AddItem(2)
.AddItem(3)
.AddItem(4)
h = .AddItem("last")
.DefaultItem = h
.CellHAlignment(0,0) = 2
.DefaultItem = h
.SortableItem(0) = .F.
.SortChildren(0,0,.T.)
endwith
.EndUpdate
endwith
|
433
|
How can I specify an item to be always the first item

with thisform.ComboBox1
.BeginUpdate
.TreeColumnIndex = -1
.Columns.Add("Numbers").SortType = 1
with .Items
.AddItem(1)
.AddItem(2)
.AddItem(3)
.AddItem(4)
h = .AddItem("first")
.DefaultItem = h
.ItemPosition(0) = 0
.DefaultItem = h
.CellHAlignment(0,0) = 2
.DefaultItem = h
.SortableItem(0) = .F.
.SortChildren(0,0,.F.)
endwith
.EndUpdate
endwith
|
530
|
How can I specify alternate background colors for each root item, similar with BackColorAlternate

with thisform.ComboBox1
.BeginUpdate
.LinesAtRoot = -1
with .Columns.Add("Default")
.Def(0) = .T.
.PartialCheck = .T.
endwith
with .Columns.Add("Position")
.FormatColumn = "( ( 1:=( ( 0:=(1 rpos '') ) lfind `.`) ) < 0 ? =:0 : (=:0 left =:1) )"
.Visible = .F.
endwith
with .ConditionalFormats.Add("%C1 mod 2")
.BackColor = RGB(240,240,240)
endwith
with .Items
h = .AddItem("Root 1")
.InsertItem(h,Null,"Child 1")
.InsertItem(h,Null,"Child 2")
.DefaultItem = h
.ExpandItem(0) = .T.
h = .AddItem("Root 2")
.InsertItem(h,Null,"Child 1")
.InsertItem(h,Null,"Child 2")
h = .AddItem("Root 3")
.InsertItem(h,Null,"Child 1")
.InsertItem(h,Null,"Child 2")
endwith
.EndUpdate
endwith
|
355
|
How can I sort the value gets listed in the drop down filter window

with thisform.ComboBox1
.LinesAtRoot = -1
.MarkSearchColumn = .F.
.Object.Description(0) = ""
.Object.Description(1) = ""
.Object.Description(2) = ""
with .Columns.Add("P1")
.DisplayFilterButton = .T.
.DisplayFilterPattern = .F.
.FilterList = 16
endwith
with .Columns.Add("P2")
.DisplayFilterButton = .T.
.DisplayFilterPattern = .F.
.FilterList = 32
endwith
with .Items
h = .AddItem("Z3")
.DefaultItem = h
.CellCaption(0,1) = "C"
.DefaultItem = .InsertItem(h,Null,"Z1")
.CellCaption(0,1) = "B"
.DefaultItem = .InsertItem(h,Null,"Z2")
.CellCaption(0,1) = "A"
.DefaultItem = h
.ExpandItem(0) = .T.
endwith
endwith
|
230
|
How can I sort the items

with thisform.ComboBox1
.Columns.Add("Default")
with .Items
h = .AddItem("Root")
.InsertItem(h,Null,"Child 1")
.InsertItem(h,Null,"Child 2")
.DefaultItem = h
.ExpandItem(0) = .T.
endwith
.Columns.Item("Default").SortOrder = 2
endwith
|
136
|
How can I sort by multiple columns

with thisform.ComboBox1
.SingleSort = .F.
.Columns.Add("C1").SortOrder = 1
.Columns.Add("C2").SortOrder = 2
.Columns.Add("C3").SortOrder = 1
endwith
|
434
|
How can I simulate displaying groups

with thisform.ComboBox1
.HasLines = 0
.ScrollBySingleLine = .T.
with .Columns
.Add("Name")
.Add("A")
.Add("B")
.Add("C")
endwith
with .Items
h = .AddItem("Group 1")
.DefaultItem = h
.CellHAlignment(0,0) = 1
.DefaultItem = h
.ItemDivider(0) = 0
.DefaultItem = h
.ItemDividerLineAlignment(0) = 3
.DefaultItem = h
.ItemHeight(0) = 24
.DefaultItem = h
.SortableItem(0) = .F.
h1 = .InsertItem(h,Null,"Child 1")
.DefaultItem = h1
.CellCaption(0,1) = 1
.DefaultItem = h1
.CellCaption(0,2) = 2
.DefaultItem = h1
.CellCaption(0,3) = 3
h1 = .InsertItem(h,Null,"Child 2")
.DefaultItem = h1
.CellCaption(0,1) = 4
.DefaultItem = h1
.CellCaption(0,2) = 5
.DefaultItem = h1
.CellCaption(0,3) = 6
.DefaultItem = h
.ExpandItem(0) = .T.
h = .AddItem("Group 2")
.DefaultItem = h
.CellHAlignment(0,0) = 1
.DefaultItem = h
.ItemDivider(0) = 0
.DefaultItem = h
.ItemDividerLineAlignment(0) = 3
.DefaultItem = h
.ItemHeight(0) = 24
.DefaultItem = h
.SortableItem(0) = .F.
h1 = .InsertItem(h,Null,"Child 1")
.DefaultItem = h1
.CellCaption(0,1) = 1
.DefaultItem = h1
.CellCaption(0,2) = 2
.DefaultItem = h1
.CellCaption(0,3) = 3
h1 = .InsertItem(h,Null,"Child 2")
.DefaultItem = h1
.CellCaption(0,1) = 4
.DefaultItem = h1
.CellCaption(0,2) = 5
.DefaultItem = h1
.CellCaption(0,3) = 6
.DefaultItem = h
.ExpandItem(0) = .T.
endwith
endwith
|
128
|
How can I show the locked / fixed items on the bottom side of the control

with thisform.ComboBox1
.ShowLockedItems = .T.
.Columns.Add("Column")
with .Items
.LockedItemCount(1) = 2
.DefaultItem = .LockedItem(1,0)
.CellCaption(0,0) = "locked item 1"
.DefaultItem = .LockedItem(1,1)
.CellCaption(0,0) = "locked item 2"
.AddItem("un-locked item")
endwith
endwith
|
127
|
How can I show the locked / fixed items

with thisform.ComboBox1
.ShowLockedItems = .T.
.Columns.Add("Column")
with .Items
.LockedItemCount(0) = 2
.DefaultItem = .LockedItem(0,0)
.CellCaption(0,0) = "locked item 1"
.DefaultItem = .LockedItem(0,1)
.CellCaption(0,0) = "locked item 2"
.AddItem("un-locked item")
endwith
endwith
|
336
|
How can I show the drop down window as soon as user starts typing in the control

with thisform.ComboBox1
.AutoDropDown = .T.
.Columns.Add("Column")
with .Items
.AddItem("Item 3")
.AddItem("Item 1")
.AddItem("Item 2")
endwith
endwith
|
125
|
How can I show the control's sort bar

with thisform.ComboBox1
.SortBarVisible = .T.
endwith
|
55
|
How can I show the control's grid lines only for added/visible items

with thisform.ComboBox1
.MarkSearchColumn = .F.
.DrawGridLines = -2
.Columns.Add("Column 1")
.Columns.Add("Column 2")
.Items.AddItem(0)
.Items.AddItem(1)
.Items.AddItem(2)
endwith
|
17
|
How can I show the control's grid lines

with thisform.ComboBox1
.MarkSearchColumn = .F.
.DrawGridLines = -1
.Columns.Add("Column 1")
.Columns.Add("Column 2")
.Items.AddItem(0)
.Items.AddItem(1)
.Items.AddItem(2)
endwith
|
449
|
How can I show the child items with no identation

with thisform.ComboBox1
.LinesAtRoot = 5
.Indent = 12
.HasLines = 2
.Columns.Add("Default")
with .Items
h = .AddItem("Root 1")
.InsertItem(h,Null,"Child 1")
.InsertItem(h,Null,"Child 2")
.InsertItem(h,Null,"Child 3")
.DefaultItem = h
.ExpandItem(0) = .T.
h = .AddItem("Root 2")
.InsertItem(h,Null,"Child 1")
.InsertItem(h,Null,"Child 2")
.InsertItem(h,Null,"Child 3")
endwith
endwith
|
12
|
How can I show or hide a column

with thisform.ComboBox1
.Columns.Add("Hidden").Visible = .F.
endwith
|
204
|
How can I show or display the control's filter

with thisform.ComboBox1
.Columns.Add("Filter").DisplayFilterButton = .T.
endwith
|
480
|
How can I show only the matching items, while user types in the drop down control

*** EditChange event - Fired when the user has taken an action that may have altered text in an edit control. ***
LPARAMETERS ColIndex
with thisform.ComboBox1
sLabel = .EditText(ColIndex)
DEBUGOUT( "Select the item that maches exactly the typing label: " )
DEBUGOUT( sLabel )
with .Items
.DefaultItem = .FocusItem
.SelectItem(0) = .F.
.DefaultItem = .FindItem(sLabel,ColIndex)
.SelectItem(0) = .T.
endwith
endwith
with thisform.ComboBox1
.BeginUpdate
.SingleEdit = .T.
.AutoComplete = .F.
.AutoSelect = .F.
.AutoSearch = .F.
.AutoDropDown = .T.
.IntegralHeight = .T.
.HeaderVisible = .F.
.Columns.Add("Friends")
with .Items
.AddItem("Fred")
.AddItem("Tina")
.AddItem("Tom")
endwith
.EndUpdate
endwith
|
212
|
How can I show in italic all data in the column

with thisform.ComboBox1
var_ConditionalFormat = .ConditionalFormats.Add("1")
with var_ConditionalFormat
.Italic = .T.
.ApplyTo = 0
endwith
.Columns.Add("Column")
.Items.AddItem(0)
.Items.AddItem(1)
endwith
|
214
|
How can I show as strikeout all cells in the column

with thisform.ComboBox1
var_ConditionalFormat = .ConditionalFormats.Add("1")
with var_ConditionalFormat
.StrikeOut = .T.
.ApplyTo = 0
endwith
.Columns.Add("Column")
.Items.AddItem(0)
.Items.AddItem(1)
endwith
|
208
|
How can I show a column that adds values in the cells

with thisform.ComboBox1
.Columns.Add("A")
.Columns.Add("B")
.Columns.Add("A+B").ComputedField = "%0 + %1"
with .Items
.DefaultItem = .AddItem(1)
.CellCaption(0,1) = 2
endwith
with .Items
.DefaultItem = .AddItem(10)
.CellCaption(0,1) = 20
endwith
endwith
|
600
|
How can I replace or add an icon at runtime

with thisform.ComboBox1
.BeginUpdate
var_s = "gAAAABgYACEHgUJFEEAAWhUJCEJEEJggEhMCYEXjUbjkJQECj8gj8hAEjkshYEpk8kf8ClsulsvAExmcvf83js5nU7nkCeEcn8boMaocXosCB9Hn09pkzcEuoL/fE+Ok"
var_s = var_s + "YB0gB9YhIHrddgVcr9aktZADAD8+P8CgIA=="
.ReplaceIcon(var_s)
.ReplaceIcon("C:\images\favicon.ico",0)
.Columns.Add("Items").Def(17) = 1
.Items.AddItem("Item <img>1</img>")
.EndUpdate
endwith
|
350
|
How can I remove the filter

with thisform.ComboBox1
with .Columns.Add("Column")
.DisplayFilterButton = .T.
.FilterType = 1
endwith
.ApplyFilter
.ClearFilter
endwith
|
227
|
How can I remove or delete an item

with thisform.ComboBox1
.Columns.Add("Default")
h = .Items.AddItem("removed item")
.Items.RemoveItem(h)
endwith
|
228
|
How can I remove or delete all items

with thisform.ComboBox1
.Columns.Add("Default")
.Items.AddItem("removed item")
.Items.RemoveAllItems
endwith
|